/* 通知组件样式 */
.messagebox-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .messagebox-notification {
    width: 260px;
    padding: 12px 16px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    animation: messageboxSlideIn 0.3s ease-out;
    border-left: 4px solid transparent;
  }
  
  .messagebox-notification.success {
    border-color: #52c41a;
  }
  
  .messagebox-notification.info {
    border-color: #1890ff;
  }
  
  .messagebox-notification.warning {
    border-color: #faad14;
  }
  
  .messagebox-notification-icon {
    font-size: 18px;
    margin-right: 12px;
  }
  
  .messagebox-notification-content {
    flex: 1;
    font-size: 13px;
    color: #666;
  }
  
  /* 弹窗组件样式 */
  .messagebox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: messageboxFadeIn 0.2s ease;
    z-index: 9999; /* 超过常规弹窗层级 */
  }
  
  .messagebox-content {
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 16px;
    position: relative;
  }
  
  .messagebox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    line-height: 1;
  }
  
  .messagebox-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
  }
  
  .messagebox-message {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .messagebox-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
  }
  
  .messagebox-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .messagebox-btn-primary {
    background: #007bff;
    color: white;
    border: none;
  }
  
  .messagebox-btn-secondary {
    background: none;
    border: 1px solid #ddd;
    color: #666;
  }
  
  /* 动画 */
  @keyframes messageboxSlideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes messageboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }